package com.kili.recommend.data.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 推荐数据源
 * </p>
 *
 * @author fenny
 * @since 2019-08-27
 */
@Getter
@Setter
@TableName("kilimall_recommend")
public class Recommend implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("user_id")
    private Long userId;

    @TableField("sku_id")
    private Long skuId;

    @TableField("score")
    private BigDecimal score;


    public static final String USER_ID = "user_id";

    public static final String SKU_ID = "sku_id";

    public static final String SCORE = "score";

}
